/*
 * CMediaUpdater.h
 *
 *  Created on: 2010-9-2
 *      Author: angelstone
 */

#pragma once

#include <wx/thread.h>

namespace mediahouse {
	class CMHContext;
}

class CMediaUpdater: public wxThread {
public:
	CMediaUpdater(mediahouse::CMHContext * p_context, void * p_cookie);
	virtual ~CMediaUpdater();

protected:
	virtual ExitCode Entry();

	bool ProcessDirs();
	bool ProcessFiles();

private:
	mediahouse::CMHContext * m_pContext;
	void * m_pCookie;
};


